<?php
include("mfetion.class.php");
$objSoapServer = new SoapServer("MFetion.wsdl");//person.wsdl是刚创建的wsdl文件
//$objSoapServer = new SoapServer("server.php?wsdl");//这样也行
$objSoapServer->setClass("MFetion");//注册person类的所有方法
$objSoapServer->handle();//处理请求 
?> 